<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
?>
<?php include("../include/haut.php"); ?>
<div id="titreInscription" class="titreInscription">
	<span class="title">Mon Profil</span>
</div>
<form id="inscriptionForms" method="post" action="<?= $PAGE_TRA_MONPROFIL ?>">
	<div>
		<input type="hidden" name="adresseip" value="<?= $_SERVER['REMOTE_ADDR'] ?>" />
	</div>
	<div class="inscriptionLogin" id="inscriptionLogin">
		<span class="contenu">Identifiant (Votre nom)</span>
	</div>
	<div class="inscriptionLoginInput" id="inscriptionLoginInput">
		<input class="texte" name="login" value="<?= $INSCRIT->login ?>" />
	</div>
	<div class="inscriptionMotdepasse" id="inscriptionMotdepasse">
		<span class="contenu">Mot de passe</span>
	</div>
	<div class="inscriptionMotdepasseInput" id="inscriptionMotdepasseInput">
		<input class="texte" type="password" name="motdepasse1" value="<?= $_SESSION['motdepasse'] ?>" />
	</div>
	<div class="inscriptionMotdepasse2" id="inscriptionMotdepasse2">
		<span class="contenu">Confirmez votre mot de passe</span>
	</div>
	<div class="inscriptionMotdepasse2Input" id="inscriptionMotdepasse2Input">
		<input class="texte" type="password" name="motdepasse2" value="<?= $_SESSION['motdepasse'] ?>" />
	</div>
	<div class="modificationBoutonLogin" id="modificationBoutonLogin">
		<input class="bouton" type="submit" value="Changer" name="changer" />
	</div>
	<div class="separatorModification" id="separatorModification"></div>
	<div class="modificationNom" id="modificationNom">
		<span class="contenu">Nom</span>
	</div>
	<div class="modificationNomInput" id="modificationNomInput">
		<input class="texte" name="nom" value="<?= $INSCRIT->detailinscrit->nom ?>" />
	</div>
	<div class="modificationPrenom" id="modificationPrenom">
		<span class="contenu">Pr&eacute;nom</span>
	</div>
	<div class="modificationPrenomInput" id="modificationPrenomInput">
		<input class="texte" name="prenom" value="<?= $INSCRIT->detailinscrit->prenom ?>" />
	</div>
	<div class="modificationSexeInput" id="modificationSexeInput">
		<span class="contenu">
			<input class="texte" type="radio" name="sexe" value="F" <?= checked('F',$INSCRIT->detailinscrit->sexe) ?> />
			Fille 
			<input class="texte" type="radio" name="sexe" value="M" <?= checked('M',$INSCRIT->detailinscrit->sexe) ?> />
			Gar&ccedil;on
		</span>
	</div>
	<div class="modificationDatenaissance" id="modificationDatenaissance">
		<span class="contenu">Ann&eacute;e de Naissance</span>
	</div>
	<div class="modificationDatenaissanceInput" id="modificationDatenaissanceInput">
		<input class="texte" name="datenaissance" value="<?= $INSCRIT->detailinscrit->datenaissance ?>" />
	</div>
	<div class="modificationMail" id="modificationMail">
		<span class="contenu">Mail</span>
	</div>
	<div class="modificationMailInput" id="modificationMailInput">
		<input class="texte" name="mail" value="<?= $INSCRIT->detailinscrit->mail ?>" />
	</div>
	<div class="modificationBouton" id="modificationBouton">
		<input class="bouton" type="submit" value="Valider" name="valider" />
	</div>
	<div class="inscriptionTexte" id="inscriptionTexte">
		<span class="contenu">
			<b>Modifier son profil</b>
		</span>
	</div>
</form>
<?php include("../include/bas.php"); ?>
